From 5c45c8897cdd9d80d70551c99020a0bab7a38d7d Mon Sep 17 00:00:00 2001 From: tumultenrx Date: Sat, 14 Mar 2015 20:45:16 +0100 Subject: Fixed a small bug --- src/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/World.cpp b/src/World.cpp index d4910ea2d..5fd55a492 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -731,7 +731,7 @@ bool cWorld::CheckPlayerSpawnPoint(int a_PosX, int a_PosY, int a_PosZ) { BLOCKTYPE BlockType = GetBlock(a_PosX + Coords[i].x, a_PosY, a_PosZ + Coords[i].x); - if (cBlockInfo::IsSolid(BlockType) && IsBlockLiquid(BlockType)) + if (cBlockInfo::IsSolid(BlockType) || IsBlockLiquid(BlockType)) { return false; } -- cgit v1.2.3